package com.andy.beef.ui.main.bean

import com.andy.beef.main.bean.BizAttachBean
import com.chad.library.adapter.base.entity.MultiItemEntity
import java.io.Serializable

/**
 *@Author: luofan
 *@CreateDate: 2021/3/22 9:17
 *@Description: 牛只信息
 * attachOutputs (Array[BizAttachBean], optional): 图片信息 ,
 * birthWeight (number, optional): 重量 ,
 * birthday (string, optional): 出生日期 ,
 * cattleEarTagNo (string, optional): 牛编号 ,
 * cattleFenceId (integer, optional): 牛栏ID ,
 * cattleFenceName (string, optional): 牛栏名称 ,
 * cattleNo (string, optional): 牛系统识别号 ,
 * currentChildTime (integer, optional): 当前胎次 ,
 * entryDate (string, optional): 入场日期 ,
 * fatherNo (string, optional): 父编号 ,
 * feedType (integer, optional): 饲养类型 ,
 * feedTypeDesc (string, optional): 饲养类型描述 ,
 * gender (string, optional): 性别 ,
 * genderDesc (string, optional): 性别描述 ,
 * id (integer, optional): 牛ID ,
 * inGroupStatus (integer, optional): 在群状态(1.在群，2.离群) ,
 * inGroupStatusDesc (string, optional): 在群状态描述 ,
 * insureNo (string, optional): 保险号 ,
 * motherNo (string, optional): 母编号 ,
 * nucleusGroupStatus (integer, optional): 是否核心种群 ,
 * rfidCode (string, optional): 电子耳标(rfidCode) ,
 * usedNo (string, optional): 曾用牛号 ,
 * variety (string, optional): 品种 ,
 * varietyDesc (string, optional): 品种描述
 */
open class FarmCattleBean : MultiItemEntity, Serializable {
    var attachOutputs: List<BizAttachBean> = listOf()
    var birthWeight: Int = 0
    var birthday: Long = 0
    var cattleEarTagNo: String = ""
    var cattleFenceId: Long = 0
    var cattleFenceName: String = ""
    var currentChildTime: Int = 0
    var entryDate: String = ""
    var fatherNo: String = ""
    var feedType: Int = 0
    var feedTypeDesc: String = ""
    var gender: String = ""
    var genderDesc: String = ""
    var id: Long = 0
    var inGroupStatus: Int = 0
    var inGroupStatusDesc: String = ""
    var insureNo: String = ""
    var motherNo: String = ""
    var nucleusGroupStatus: Int = 0
    var rfidCode: String = ""
    var usedNo: String = ""
    var variety: String = ""
    var varietyDesc: String = ""
    var viewType = 0
    var cattleStatus: Int? = null//牛只状态(成母、育成、青年)
    var cattleStatusDesc = ""//牛只状态描述
    var createTime: Long? = null//创建时间
    var creatorName = ""//创建人名
    var creatorId: Long = 0//创建人
    var editTime: Long? = null//编辑时间
    var editorId: Long = 0//编辑人ID
    var editorName = ""//编辑人名
    var cowshedId: Long = 0
    var cowshedName = ""
    override val itemType: Int
        get() = viewType
}